<%@page contentType="text/html;charset=UTF-8"%>
<%@taglib uri="/WEB-INF/tlds/struts-logic.tld" prefix="logic"%>
<%@taglib uri="/WEB-INF/tlds/framework.tld" prefix="framework"%>
<logic:present name="SESSION_MEMBER">
欢迎 <a href="<%= request.getContextPath() %>/shop/Member.do?webMethod=profile"><framework:attr source="SESSION_MEMBER" attr="name" /></a>
</logic:present>
<logic:notPresent name="SESSION_MEMBER">
<a href="<%= request.getContextPath() %>/shop/Member.do?webMethod=prepareLogin">尚未登录</a>&nbsp;
<a href="<%= request.getContextPath() %>/shop/Member.do?webMethod=prepareRegister">尚未注册</a>
</logic:notPresent>